package org.hard.controller;

import cn.hutool.core.util.RandomUtil;
import org.hard.entity.FileInfo;
import org.hard.mapper.FileInfoMapper;
import org.hard.service.FileInfoService;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author: 王林博
 * @date: 2024年05月18日 18:20
 */
@RestController
public class HelloController {

    @Resource
    private FileInfoService fileInfoService;

    @GetMapping("/save")
    public void saveFileInfo(){
        fileInfoService.save();
    }
}
